﻿#pragma once
#ifdef AA_EXPPREDICT
#define AA_PREDICT extern "C" __declspec(dllexport)
#else
#define AA_PREDICT extern "C" __declspec(dllimport)
#endif

#include "jni.h"
#include <opencv2/opencv.hpp>


AA_PREDICT char*  predict(jlong handle, char* img, int size);

//AA_PREDICT char*  predictMat(cv::Mat mat, int size, jlong handle);

AA_PREDICT jlong init(char* model);

AA_PREDICT void uninit(jlong handle);


